<script setup>
    import {ref} from 'vue'
    import CustomInput from './CustomInput.vue'
    
    const searchText2 = ref('')
</script>
      
<template>
    <custom-input
        :test="searchText2"
        @update:test="searchText2 = $event"
    ></custom-input>
    <div>{{ searchText2}}</div>
</template>